﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BlueToolBox.BaseTypes
{
    public abstract class RelationshipTable
    {
        public string NameMainTable { get; set; }
        public string NameMainForeign { get; set; }

        public IConnection Connection { get; set; }

        public RelationshipTable(IConnection Connection, string NameMainTable, string NameMainForeign)
        {
            this.Connection = Connection;
        }

        public abstract Table GetMainTable();

        public abstract Table GetForeignTable();
    }
}
